I have a web service which the "request unit" have a XSD that validates the input data .
I am using the " SoapUI " software to try out the service request and the scheme is shown me is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webml.org/webservices">
<soapenv:Header/>
<soapenv:Body>
<web:getProductsByMinMaxPrices/>
< / soapenv : Body>
< / soapenv : Envelope>
And the XSD I use to validate the data is ( prices.xsd ) :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.webml.org/webservices/wsdl/prices">
<xsd:complexType name="pricesType">
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="1" name="min-price" type="xsd:string"/>
<xsd:element minOccurs="1" maxOccurs="1" name="max-price" type="xsd:string"/>
< / xsd: sequence>
< / xsd: complexType >
< / xsd : schema >
Thus an example of request scheme " SoapUI " to use is :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webml.org/webservices">
<soapenv:Header/>
<soapenv:Body>
<web:getProductsByMinMaxPrices/>
<pricesType>
<min-price> 10 </ min- price>
<max-price> 200 < / max- price>
</ pricesType >
< / soapenv : Body>
< / soapenv : Envelope>
But do not give me any results .
I would be very grateful if someone could help me.
Adrián.